package com.sxt;

import java.awt.*;

public class Rock extends Object{
    Rock(){
        this.x = (int)(Math.random()*900);
        this.y = (int)(Math.random()*380+150);
        this.width = 61;
        this.height = 69;
        this.m = 50;
        this.count = 1;
        this.type = 2;
        this.flag = false;
        this.image = Toolkit.getDefaultToolkit().getImage("image/rock1.png");

    }
}
